import { Suspense } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'

import { Spin } from 'antd'
import { RouterProvider } from 'react-router-dom'
import { RouterList } from './routers'
createRoot(document.getElementById('root')!).render(
  <Suspense fallback={<Spin fullscreen />}>
    <RouterProvider router={RouterList}>
    </RouterProvider>
  </Suspense>
)
